package sample;

import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import javafx.scene.control.Button;
import javafx.scene.control.TextField;

import java.net.URL;
import java.util.Date;
import java.util.ResourceBundle;

public class Controller implements Initializable {


    @FXML
    private TextField username;
    @FXML
    private TextField password;


    @Override
    public void initialize(URL location, ResourceBundle resources) {

    }


    public void userLogin(ActionEvent event) {
        String name = username.getText().trim();
        String pass = password.getText().trim();
        System.out.println("name = " + name);
        System.out.println("pass = " + pass);
    }

    /*
     *
     *我是dev新增的待会合并到master
     *
     * */
}
